package com.atguigu.gulimail.auth.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gulimail-third-server")
@Component
public interface SmsFeign {

    @RequestMapping("/sms/sendcode")
    public R sendCode(@RequestParam("phone") String phone,@RequestParam("code")String code);

}
